package com.qianfeng.ssm.exceptions;

/**
 * @author Zhao_Win
 * @version V1.0
 * @Project AllDay
 * @Date 2022/3/10 21:23
 */
public class MyBaseException extends RuntimeException{
    private int code;

    public MyBaseException(String message,int code){
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
